<?php

namespace app\admin\model\factor;

use think\Model;


class CertificationBody extends Model
{

    

    

    // 表名
    protected $name = 'certification_body';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'integer';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected $deleteTime = false;

    // 追加属性
    protected $append = [

    ];

    public function getStatusList()
    {
        return ['0' => '隐藏', '1' => '正常'];
    }
    public function getStampImageAttr($value)
    {
        return $value ? cdnurl($value) : '';
    }
   public function getBodyImageAttr($value)
    {
        return $value ? cdnurl($value) : '';
    }

    







}
